﻿using System.Collections.Generic;
using netCoreStudy.Entities.Base;

namespace netCoreStudy.Dto.User
{
	public class RoleDto : BaseDto
	{
		/// <summary>
		/// 角色姓名
		/// </summary>
		public string Name { get; set; }

		/// <summary>
		/// 描述 
		/// </summary>
		public string Desc { get; set; }

		/// <summary>
		/// 等级 级别，数值越小，级别越大  
		/// </summary>
		public int OrderSort { get; set; }

		/// <summary>
		/// 是否激活
		/// </summary>
		public bool Enabled { get; set; }

		/// <summary>
		/// 菜单列表
		/// </summary>
		public List<MenuDtoSm> Menus { get; set; } = new List<MenuDtoSm>();
	}
}